<!doctype html>
<html lang="zh">
  <head>
    <meta charset="UTF-8" />
    <link rel="icon" href="/favicon.svg" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="naive-ui-style" />
    <title>系统</title>
    <!--    <script src="./libs/vue.min.js"></script>-->
    <!--    <script src="./libs/naive-ui.min.js"></script>-->
    <!--    <script src="./libs/vue3-sfc-loader.min.js"></script>-->
    <!--    <script src="https://unpkg.com/@babel/standalone@7.26.4/babel.min.js"></script>-->
    <script>
      window.appConfig = {
        debug: true,
        homePage: '/home',
        baseURL: '/index.php?entry=admin-api',
      }
      let admin = window.admin
      let interval = null
      window.addEventListener('load', () => {
        interval = setInterval(() => {
          if (window.initApp) {
            admin = window.initApp(window.appConfig)
            admin.render('#app')
            clearInterval(interval)
            interval = null
          }
        }, 100)
      })
    </script>
  </head>
  <body>
    <div id="app">
      <div id="appLoading"></div>
    </div>
    <script type="module" src="./src/main.ts"></script>
  </body>
</html>
